
const get = () => {
  const modNum = wx.getStorageSync('modNum') || 0
  return modNum
}

const set = (val) => {
  const modNum = val
  wx.setStorageSync('modNum', modNum)
}

export default {
  get,
  set
}